package com.sqoop.commons.receive;

import com.sqoop.core.msg.Msg;
import com.sqoop.core.msg.MsgDestination;

import javax.jms.Destination;

/**
 * Created by zw on 2017/11/10.
 */
public interface MsgListener {
    Msg getMsg();

    public void register(MsgDestination destination);

    void stop();

    void stop(Destination destination);

    void pause(Destination destination);

    void pause();
}